package org.platform.lwc.system.service.impl;

import org.platform.lwc.system.entity.SysRole;
import org.platform.lwc.system.mapper.SysRoleMapper;
import org.platform.lwc.system.service.ISysRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 系统角色表 服务实现类
 * </p>
 *
 * @author lwc
 * @since 2022-03-30
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {
    @Override
    public List<SysRole> getSysRoles(String userId) {
        return baseMapper.getSysRoles(userId);
    }
}
